﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manager.Master" AutoEventWireup="true" CodeBehind="EmailSetting.aspx.cs" Inherits="Manager.EmailSetting" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPage" runat="server">
            <asp:Panel ID="pnlEmailSetting" DefaultButton="btnSave" runat="server">
    <div class="breadcrumb">
    <a href="Default.aspx">Thông tin chung</a> >> <a href="EmailSetting.aspx">Cài đặt Email</a>
</div>
        <div class="box" style="float:left; width: 100%" runat="server">
        <div class="heading">
            <h1><img src="../Styles/Img/Setting.png" alt="" />Cài đặt Email</h1>            
        </div>
        <div class="content">
        <br />
                <table class="update" cellspacing="10px" cellpadding="10px" width="680px">
                    <tbody>
   <tr class="filter"><td colspan="2">&nbsp;</td></tr>
                        <tr>
                            <td colspan="2" class="center">
                                <span class="required">
                                    <asp:Label ID="lblMessage" runat="server" Text="" Visible="false"></asp:Label></span>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="required">*</span> Email gửi từ: 
                            </td>
                            <td>
                                <asp:TextBox ID="txtEmailFrom" runat="server" Width="250px"></asp:TextBox><br />                                
                            </td>
                        </tr>
                        <tr>
                            <td><span class="required">*</span> Tên đăng nhập SMTP: </td>
                            <td>
                                <asp:TextBox ID="txtSMTPUsername" runat="server" Width="250px"></asp:TextBox><br />
                            </td>
                        </tr>
                        <tr>
                            <td><span class="required">*</span> Mật khẩu SMTP: </td>
                            <td>
                                <asp:TextBox ID="txtSMTPPassword" runat="server" Width="250px" TextMode="Password"></asp:TextBox><br />
                            </td>
                        </tr>
                        <tr>
                            <td><span class="required">*</span> Máy chủ SMTP: </td>
                            <td>
                                <asp:TextBox ID="txtSMTPServer" runat="server" Width="250px"></asp:TextBox><br />
                            </td>
                        </tr>
                        <tr>
                            <td><span class="required">*</span> Cổng SMTP: </td>
                            <td>
                                <asp:TextBox ID="txtSMTPPort" runat="server" Width="50px"></asp:TextBox><br />    
                            </td>
                        </tr>
                        <tr>
                            <td><span class="required">*</span> Kích hoạt SSL: </td>
                            <td>                                
                                <asp:RadioButton ID="rbtEnable" GroupName="grnSSL" runat="server" Checked="true" Text="Kích hoạt" /> &nbsp;&nbsp; 
                                <asp:RadioButton ID="rbtDisable" GroupName="grnSSL" runat="server" Text="Không Kích hoạt" /> 
                            </td>
                        </tr>
                        <tr>
                            <td>Trạng thái: </td>
                            <td>
                                <asp:RadioButton ID="rbtActive" GroupName="grnActive" runat="server" Checked="true" Text="Hoạt động" /> &nbsp;&nbsp; 
                                <asp:RadioButton ID="rbtDeactive" GroupName="grnActive" runat="server" Text="Không hoạt động" />     
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                            <br />
                                <asp:Button ID="btnSave" runat="server" CssClass="button" Text="Lưu lại" 
                                    onclick="btnSave_Click" />
                                <asp:Button ID="btnClose" runat="server" CssClass="button" Text="Thoát" 
                                    onclick="btnClose_Click" />
                            <br />
                            <br />
                            </td>
                        </tr>
   <tr class="filter"><td colspan="2">&nbsp;</td></tr>
                    </tbody>
                </table>
            </div>
        </div>
        </asp:Panel>
</asp:Content>
